POV-Ray : Newsgroups : povray.general : best way to plot 3D density field : Re: best way to plot 3D density field Server Time
7 Aug 2024 17:23:46 EDT (-0400)
  Re: best way to plot 3D density field  
From: Andrea Ryan
Date: 5 Aug 2001 21:58:21
Message: <3B6DF7DC.2CC33041@global2000.net>
Maybe a heightfield would work.  There is an example in the tutorial
section of the documentation.  If you can format your data as an image
of varying color, you could use it for a heightfield.  Heightfields are
just special meshes that take the vertical positions of their triangles
from the image file.  The documentation has some details.

If you data is in a text file, you could try using the file functions
like #fopen and #read to access it and use it as the heights of
cylinders or boxes arranged in an array.  I have seen something like
this on http://www.webelements.com/ .  They have images that use
cylinders and boxes of different heights to show how properties of
chemical elements differ.

Brendan Ryan

"Dr. Paul Fons" wrote:
> 
> Hi I am a newcomer to povray (just downloaded it and read some of the
> documentation).  I was curious as to the best way to plot a three
> dimensional set of experimental data (on a mesh).  Is it possible to plot
> the data as a fog-like substance or an isosurface?  Are there any examples
> out there I could bootstrap from.  If it matters, the data is actually a
> wavefunction determined from tem structure factor data.  The idea is to
> make beautiful graphics from the data and compare it previously existing
> data (and show the improvements).  Thanks for any help you can offer. I
> can be found at pau### [at] aistgojp.  Thanks in advance.
> 
> Dr. Paul Fons
> National Institute for Advanced Industrial Science & Technology
> Tsukuba, Japan


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.